﻿<%@ Control Language="C#" AutoEventWireup="true" Codebehind="files_upload.ascx.cs"
    Inherits="Framework.Module.UpDownLoad.Admin.files_upload" %>
<%@ Register Assembly="Brettle.Web.NeatUpload" Namespace="Brettle.Web.NeatUpload"
    TagPrefix="Upload" %>
<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>
    <div>
    <table border="0" cellpadding="0" cellspacing="10" width="100%">
        <tr>
            <td valign="top" class="InputBox">
                <table border="0" cellpadding="0" cellspacing="0" width="100%" >
                    <tr>
                        <td>
                            <asp:Label ID="lblFilePicker" runat="server" Text="Đăng File" Width="75px"></asp:Label>
                        </td>
                        <td>
                            <Upload:InputFile ID="InputFile1" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="Label1" runat="server" Text="Mục đăng"></asp:Label>
                        </td>
                        <td>
                            <input id="hddCategory" type=hidden value="<%= this.drgCategory.ClientID %>" />
                            <asp:DropDownList ID="drgCategory" runat="server">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lblTitle" runat="server" Text="Tiêu đề"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="txtTitle" runat="server" Width="255px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="Label2" runat="server" Text="Mô tả"></asp:Label>
                        </td>
                        <td>
                            &nbsp;<asp:TextBox TextMode="MultiLine" runat="server" Width="255px" ID="txtDescription"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" style="height: 24px">
                            <center>                              
                                <asp:Button  ID="btnUpload" runat="server" Text="Upload" CausesValidation="False"
                                    CssClass="Button" Width="77px" OnClick="btnUpload_Click" />
                                &nbsp;
                            </center>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" style="height: 24px">
                            <asp:Label ID="lblStatus" ForeColor="red" Font-Size="Small" Font-Bold="true" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" style="height: 30px">
                        </td>
                    </tr>
                </table>
            </td>
            <td  valign="top" class="InputBox">
                <Upload:ProgressBar ID="ProgressBar1" runat="server" Triggers="btnUpload" Inline="true" width="350">
                </Upload:ProgressBar>
            </td>
        </tr>
    </table>
</div>
